package com.koron.system.staff.bean.convertor;

import com.koron.bean.system.org.OrgBean;
import com.koron.bean.system.org.OrgVo;
import com.koron.bean.system.role.AppOrgJurisdictionBean;
import com.koron.bean.system.role.AppSimpleInfoBean;
import com.koron.bean.system.staff.po.AppUserPo;
import com.koron.bean.system.staff.vo.AppUserVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName AppUserConvertor
 * @description
 * @Author zhouj
 * @Date 2021/11/22 16:51
 */
@Mapper(componentModel = "spring")
public interface AppUserConvertor {

    List<AppUserVo> userPosToVos(List<AppUserPo> userPos);

    OrgVo orgBeanToVo(OrgBean orgBean);

    List<AppSimpleInfoBean> appOrgJurBeanListToSimple(List<AppOrgJurisdictionBean> appOrgJurisdictionBeanList);
}
